In [9]:
import requests
import json
In [10]:
keyword = "python"
location = "sf"
link = "https://jobs.github.com/positions.json?description=" + keyword + "&location=" + location
print(link)
In [ ]:
r = requests.get(link)
#print(r.text)
In [17]:
jobs = json.loads(r.text)
print(jobs[0]['title'])
In [19]:
jobs[0].keys()
Out[19]:
In [20]:
for job in jobs:
print(job['title'], job['url'])
In [21]:
for job in jobs:
if "Front End" in job['title']:
print(job['title'], job['url'])
In [22]:
for job in jobs:
if "Java" in job['description']:
print(job['title'])
In [ ]: